package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.po.AddressBookPO;
import org.example.entity.vo.AddressBookVO;

import java.util.List;

@Mapper
public interface AddressBookMapper {
    void insert(AddressBookPO po);

    void delete(@Param("id") Long id);

    AddressBookVO findOne(@Param("id")Long id);

    List<AddressBookVO> list();
}
